home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / ashe-1.1 / xtrans.h < prev    next >
Encoding:
Text File  |  1995-05-15  |  3.0 KB  |  81 lines

  1. /*
  2. * xtrans.h - (c) 1994 Copyright by John R. Punin
  3. *
  4. * Global Translations and Resources variables
  5. *
  6. *
  7. */
  8. char emacs_translations[] =
  9.        "Ctrl <Key>b:            backward-character()\n\
  10.         Alt <Key>b:             backward-word()\n\
  11.         Meta <Key>b:            backward-word()\n\
  12.         Shift Alt <Key>b:       backward-word(extend)\n\
  13.         Shift Meta <Key>b:      backward-word(extend)\n\
  14.         Alt <Key>[:             backward-paragraph()\n\
  15.         Meta <Key>[:            backward-paragraph()\n\
  16.         Shift Alt <Key>[:       backward-paragraph(extend)\n\
  17.         Shift Meta <Key>[:      backward-paragraph(extend)\n\
  18.         Alt <Key><:             beginning-of-file()\n\
  19.         Meta <Key><:            beginning-of-file()\n\
  20.         Ctrl <Key>a:            beginning-of-line()\n\
  21.         Shift Ctrl <Key>a:      beginning-of-line(extend)\n\
  22.         Ctrl <Key>osfInsert:    copy-clipboard()\n\
  23.         Shift <Key>osfDelete:   cut-clipboard()\n\
  24.         Shift <Key>osfInsert:   paste-clipboard()\n\
  25.         Alt <Key>>:             end-of-file()\n\
  26.         Meta <Key>>:            end-of-file()\n\
  27.         Ctrl <Key>e:            end-of-line()\n\
  28.         Shift Ctrl <Key>e:      end-of-line(extend)\n\
  29.         Ctrl <Key>f:            forward-character()\n\
  30.         Alt <Key>]:             forward-paragraph()\n\
  31.         Meta <Key>]:            forward-paragraph()\n\
  32.         Shift Alt <Key>]:       forward-paragraph(extend)\n\
  33.         Shift Meta <Key>]:      forward-paragraph(extend)\n\
  34.         Ctrl Alt <Key>f:        forward-word()\n\
  35.         Ctrl Meta <Key>f:       forward-word()\n\
  36.         Ctrl <Key>d:            kill-next-character()\n\
  37.         Alt <Key>BackSpace:     kill-previous-word()\n\
  38.         Meta <Key>BackSpace:    kill-previous-word()\n\
  39.         Ctrl <Key>w:            key-select() kill-selection()\n\
  40.         Ctrl <Key>y:            unkill()\n\
  41.         Ctrl <Key>k:            kill-to-end-of-line()\n\
  42.         Alt <Key>Delete:        kill-to-start-of-line()\n\
  43.         Meta <Key>Delete:       kill-to-start-of-line()\n\
  44.         Ctrl <Key>o:            newline-and-backup()\n\
  45.         Ctrl <Key>j:            newline-and-indent()\n\
  46.         Ctrl <Key>n:            next-line()\n\
  47.         Ctrl <Key>osfLeft:      page-left()\n\
  48.         Ctrl <Key>osfRight:     page-right()\n\
  49.         Ctrl <Key>p:            previous-line()\n\
  50.         Ctrl <Key>g:            process-cancel()\n\
  51.         Ctrl <Key>l:            redraw-display()\n\
  52.         Ctrl <Key>osfDown:      next-page()\n\
  53.         Ctrl <Key>osfUp:        previous-page()\n\
  54.         Ctrl <Key>space:        set-anchor()\n\
  55.     Ctrl <Key>v:            next-page()\n\
  56.     Alt <Key>v:        previous-page()\n\
  57.     Meta <Key>v:        previous-page()";
  58.  
  59.  
  60. String fallbacks[] = { "xhtml*background: grey",
  61.               "xhtml*foreground: black",
  62.               "xhtml*fontList: -*-courier-*-r-*--14-*=charset",
  63.               NULL};
  64.  
  65.    
  66.  
  67. static XtResource resources[] =
  68. {
  69.     {
  70.          "htmldir",
  71.      "Htmldir",
  72.          XmRString,
  73.          sizeof(char *),
  74.          XtOffset(struct _myAppRes*,htmldir),
  75.          XmRImmediate,
  76.          (XtPointer) NULL
  77.     },
  78. };
  79.  
  80.  
  81.